{% extends "base.html" %}

{% block title %}Login{% endblock %}

{% block content %}
    <h2>Login</h2>
    <form method="post">
        {{ form.hidden_tag() }}
        <div class="form-group">
            {{ form.username.label }}
            {{ form.username(class_='form-control') }}
        </div>
        <div class="form-group">
            {{ form.password.label }}
            {{ form.password(class_='form-control') }}
        </div>
        <div class="form-group">
            {{ form.submit(class_='btn btn-primary') }}
        </div>
    </form>
    <br>
    New user? <a href="{{ url_for('main.register') }}">Click here to register</a>



{% endblock %}
